﻿package net.wangit.demo.action;

import net.wangit.context.ActionContext;
import net.wangit.support.Action;

public class MethodAction implements Action {

	public ActionContext execute(ActionContext ac) throws Exception {
		ac.getActionResult().addInfo("execute");
		return ac;
	}

	public ActionContext a(ActionContext ac) {
		// TODO do something...
		ac.getActionResult().addInfo("a");
		return ac;
	}

	public ActionContext b(ActionContext ac) {
		// TODO do something...
		ac.getActionResult().addInfo("b");
		return ac;
	}

}
